<%@ page contentType="text/html"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="javax.ejb.*,javax.naming.*,java.rmi.*" %>
<%@ page import="jwanalytics.ejb.webhouse.*,jwanalytics.ejb.dataobjects.*,jwanalytics.web.*,javax.faces.context.*" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<f:view>
  <html>
    <head>
	  <base href="<%=basePath%>">
      <title>page1.jsp</title>
      <meta http-equiv="pragma" content="no-cache">
	  <meta http-equiv="cache-control" content="no-cache">
	  <meta http-equiv="expires" content="0">    
	  <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	  <meta http-equiv="description" content="This is my page">
	  <!--
	     <link rel="stylesheet" type="text/css" href="styles.css">
	  -->
    </head>
  <body bgcolor="#FFFF00">
   <h:form>
    <h2>Page 1: day camp business optimized page.</h2>
    
    <p>This page has been selected by the optimization algorithm as the page that is most likely to convince an user browsing the daycamp business site to commit to  a purchase/order
    in this case the reservation of daycamp activities for some visitors.</p>
    
    <p>The page 1 will be most adequate for visitors which show little interest on the site, spent little time browsing pages such as activities.jsp, and are probabily more
    price minded, price oriented in their decisions than content or product minded/oriented.</p>
	    
    <a href="faces/goal.jsp">Go to goal page, order day camp on the Rocky Mountains.</a>
    	
        <!--  Logging the page. -->
        <%
        String userSessionBeanName = "userSessionBean";
        if (session.getAttribute(userSessionBeanName) == null) {
        	session.setAttribute(userSessionBeanName, new UserSessionBean());
        }
		
		((UserSessionBean)session.getAttribute(userSessionBeanName)).logPageHit("page1.jsp", request, response);
		
        %>
      </h:form>
      
      <img src="http://www.geocities.com/aacesta/sitemap_v1.0.png" />      
      
    </body>
  </html>
</f:view>
